<extend name="Public/base"/>

<block name="body">
  <div class="main-title">
    <h2>{$meta_title}</h2>
  </div>
  <form action="{:U('editDomain')}" method="post" class="form-horizontal">
    <div class="form-item">
      <label class="item-label">店主账号</label>
      <div class="controls">
        <input type="text" class="text input-large" disabled value="{$data.member_name|default=''}">
      </div>
    </div>
    <div class="form-item">
      <label class="item-label">店铺</label>
      <div class="controls">
        <input type="text" class="text input-large" disabled value="{$data.store_name|default=''}">
      </div>
    </div>
    <div class="form-item">
      <label class="item-label">二级域名</label>
      <div class="controls">
        <input type="text" class="text input-large" name="domain" value="{$data.domain|default=''}">
      </div>
    </div>
    <div class="form-item">
      <label class="item-label">已修改次数</label>
      <div class="controls">
        <input type="text" class="text input-large" name="times" value="{$data.domain_change_times|default='0'}">
      </div>
    </div>
    
    <div class="form-item">
      <input type="hidden" name="store_id" value="{$data.store_id|default=''}">
      <button class="btn submit-btn ajax-post" id="submit" type="submit" target-form="form-horizontal">确 定</button>
      <button class="btn btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
    </div>
  </form>
</block>

<block name="script">
  <script type="text/javascript">
    //导航高亮
    highlight_subnav('{:U("Store/domain")}');
  </script>
</block>